﻿namespace IDAL
{
    public interface IBaseDAL<T> where T : class
    {
        Task<int> AddAsync(T t);
        Task<int> DeleteAsync(int Id);


        T GetValue(int Id);

        Task<int> UpdateAsync(T t);

        IQueryable<T> GetAll();



    }
}
